home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-07-24 | 8.8 KB | [TEXT/MPCC] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Jul 24 17:34:43 1995, modified Mon Jul 24 17:34:43 1995, creator 'MPCC', type ASCII, 8203 bytes "DriverPrepMemoryInit.c" , at 0x208b 410 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPCC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 16 44 72 69 76 65 72 | 50 72 65 70 4d 65 6d 6f |..Driver|PrepMemo|
|00000010| 72 79 49 6e 69 74 2e 63 | 00 00 00 00 00 00 00 00 |ryInit.c|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 43 | 43 01 00 00 00 00 00 00 |.TEXTMPC|C.......|
|00000050| 00 00 00 00 00 20 0b 00 | 00 01 9a ac 39 c2 73 ac |..... ..|....9.s.|
|00000060| 39 c2 73 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |9.s.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a3 40 00 00 |........|.....@..|
|00000080| 2f 2a 09 09 09 09 09 09 | 09 09 44 72 69 76 65 72 |/*......|..Driver|
|00000090| 50 72 65 70 4d 65 6d 6f | 72 79 49 6e 69 74 2e 63 |PrepMemo|ryInit.c|
|000000a0| 09 09 09 09 09 09 09 09 | 2a 2f 0d 2f 2a 0d 20 2a |........|*/./*. *|
|000000b0| 20 44 72 69 76 65 72 50 | 72 65 70 4d 65 6d 6f 72 | DriverP|repMemor|
|000000c0| 79 49 6e 69 74 2e 63 0d | 20 2a 20 43 6f 70 79 72 |yInit.c.| * Copyr|
|000000d0| 69 67 68 74 20 a9 20 31 | 39 39 34 2d 39 35 20 41 |ight . 1|994-95 A|
|000000e0| 70 70 6c 65 20 43 6f 6d | 70 75 74 65 72 20 49 6e |pple Com|puter In|
|000000f0| 63 2e 20 41 6c 6c 20 72 | 69 67 68 74 73 20 72 65 |c. All r|ights re|
|00000100| 73 65 72 76 65 64 2e 0d | 20 2a 0d 20 2a 20 2e 0d |served..| *. * ..|
|00000110| 20 2a 2f 0d 2f 2a 09 2e | 5f 5f 5f 5f 5f 5f 5f 5f | */./*..|________|
|00000120| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000130| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000140| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000150| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000160| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 2e 0d 20 20 09 |________|___.. .|
|00000170| 7c 20 49 6e 69 74 69 61 | 6c 69 7a 65 20 74 68 65 || Initia|lize the|
|00000180| 20 70 65 72 6d 61 6e 65 | 6e 74 20 6d 65 6d 6f 72 | permane|nt memor|
|00000190| 79 20 61 72 65 61 73 20 | 74 68 61 74 20 61 72 65 |y areas |that are|
|000001a0| 20 73 68 61 72 65 64 20 | 62 65 74 77 65 65 6e 20 | shared |between |
|000001b0| 74 68 65 20 64 72 69 76 | 65 72 20 61 6e 64 20 74 |the driv|er and t|
|000001c0| 68 65 09 7c 0d 20 20 09 | 7c 20 4e 43 52 20 63 61 |he.|. .|| NCR ca|
|000001d0| 72 64 3a 20 74 68 65 20 | 53 43 53 49 20 73 63 72 |rd: the |SCSI scr|
|000001e0| 69 70 74 20 61 6e 64 20 | 74 68 65 20 70 65 72 2d |ipt and |the per-|
|000001f0| 72 65 71 75 65 73 74 20 | 72 65 63 6f 72 64 2e 20 |request |record. |
|00000200| 49 66 20 74 68 69 73 20 | 69 73 20 65 78 74 65 6e |If this |is exten|
|00000210| 64 65 64 20 74 6f 09 09 | 7c 0d 20 20 09 7c 20 73 |ded to..||. .| s|
|00000220| 75 70 70 6f 72 74 20 63 | 6f 6e 63 75 72 72 65 6e |upport c|oncurren|
|00000230| 74 20 49 2f 4f 20 28 69 | 2e 65 2e 20 74 6f 20 73 |t I/O (i|.e. to s|
|00000240| 75 70 70 6f 72 74 20 53 | 43 53 49 20 73 75 73 70 |upport S|CSI susp|
|00000250| 65 6e 64 2f 72 65 73 75 | 6d 65 29 2c 20 77 65 20 |end/resu|me), we |
|00000260| 6d 75 73 74 20 63 72 65 | 61 74 65 20 61 6e 64 09 |must cre|ate and.|
|00000270| 7c 0d 20 20 09 7c 20 70 | 72 65 70 61 72 65 20 73 ||. .| p|repare s|
|00000280| 65 76 65 72 61 6c 20 70 | 65 72 2d 72 65 71 75 65 |everal p|er-reque|
|00000290| 73 74 20 72 65 63 6f 72 | 64 73 2e 20 57 68 65 6e |st recor|ds. When|
|000002a0| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 | an appl|ication |
|000002b0| 63 61 6c 6c 73 20 50 42 | 52 65 61 64 20 6f 72 20 |calls PB|Read or |
|000002c0| 50 42 57 72 69 74 65 2c | 09 7c 0d 20 20 09 7c 20 |PBWrite,|.|. .| |
|000002d0| 61 20 73 65 70 61 72 61 | 74 65 2c 20 6d 6f 72 65 |a separa|te, more|
|000002e0| 20 63 6f 6d 70 6c 65 78 | 2c 20 66 75 6e 63 74 69 | complex|, functi|
|000002f0| 6f 6e 20 77 69 6c 6c 20 | 68 61 6e 64 6c 65 20 70 |on will |handle p|
|00000300| 72 65 70 61 72 61 74 69 | 6f 6e 20 6f 66 20 74 68 |reparati|on of th|
|00000310| 65 20 61 63 74 75 61 6c | 20 49 2f 4f 09 09 7c 0d |e actual| I/O..|.|
|00000320| 20 20 09 7c 20 62 75 66 | 66 65 72 2e 0d 09 2e 5f | .| buf|fer...._|
|00000330| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000340| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000350| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000360| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000370| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000380| 5f 5f 2e 0d 2a 2f 0d 23 | 69 6e 63 6c 75 64 65 20 |__..*/.#|include |
|00000390| 22 4e 43 52 44 72 69 76 | 65 72 50 72 69 76 61 74 |"NCRDriv|erPrivat|
|000003a0| 65 2e 68 22 0d 0d 2f 2a | 0d 20 2a 20 43 72 65 61 |e.h"../*|. * Crea|
|000003b0| 74 65 20 61 6e 20 49 2f | 4f 20 50 72 65 70 61 72 |te an I/|O Prepar|
|000003c0| 61 74 69 6f 6e 20 74 61 | 62 6c 65 20 66 6f 72 20 |ation ta|ble for |
|000003d0| 74 68 65 20 67 6c 6f 62 | 61 6c 20 73 63 72 69 70 |the glob|al scrip|
|000003e0| 74 2e 20 54 68 69 73 20 | 69 73 20 63 72 65 61 74 |t. This |is creat|
|000003f0| 65 64 20 6f 6e 63 65 2c | 20 77 68 65 6e 0d 20 2a |ed once,| when. *|
|00000400| 20 74 68 65 20 64 72 69 | 76 65 72 20 73 74 61 72 | the dri|ver star|
|00000410| 74 73 2e 20 54 68 65 20 | 4e 43 52 20 63 68 69 70 |ts. The |NCR chip|
|00000420| 20 72 65 61 64 73 20 74 | 68 65 20 73 63 72 69 70 | reads t|he scrip|
|00000430| 74 20 61 73 79 6e 63 68 | 72 6f 6e 6f 75 73 6c 79 |t asynch|ronously|
|00000440| 2e 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 0d |. This f|unction.|
|00000450| 20 2a 20 6d 61 79 20 73 | 65 72 76 65 20 61 73 20 | * may s|erve as |
|00000460| 61 6e 20 65 78 61 6d 70 | 6c 65 20 66 6f 72 20 61 |an examp|le for a|
|00000470| 20 67 65 6e 65 72 61 6c | 20 67 6c 6f 62 61 6c 20 | general| global |
|00000480| 73 68 61 72 65 64 20 61 | 72 65 61 2e 0d 20 2a 2f |shared a|rea.. */|
|00000490| 0d 4f 53 45 72 72 0d 50 | 72 65 70 61 72 65 4d 65 |.OSErr.P|repareMe|
|000004a0| 6d 6f 72 79 46 6f 72 53 | 63 72 69 70 74 28 0d 09 |moryForS|cript(..|
|000004b0| 09 41 64 64 72 65 73 73 | 53 70 61 63 65 49 44 09 |.Address|SpaceID.|
|000004c0| 09 09 61 64 64 72 65 73 | 73 53 70 61 63 65 49 44 |..addres|sSpaceID|
|000004d0| 0d 09 29 0d 7b 0d 09 09 | 4f 53 45 72 72 09 09 09 |..).{...|OSErr...|
|000004e0| 09 09 73 74 61 74 75 73 | 3b 0d 09 09 49 74 65 6d |..status|;...Item|
|000004f0| 43 6f 75 6e 74 09 09 09 | 09 6d 61 70 45 6e 74 72 |Count...|.mapEntr|
|00000500| 69 65 73 4e 65 65 64 65 | 64 3b 0d 0d 09 09 54 72 |iesNeede|d;....Tr|
|00000510| 61 63 65 28 50 72 65 70 | 61 72 65 4d 65 6d 6f 72 |ace(Prep|areMemor|
|00000520| 79 46 6f 72 53 63 72 69 | 70 74 29 3b 0d 09 09 47 |yForScri|pt);...G|
|00000530| 4c 4f 42 41 4c 2e 6e 63 | 72 53 43 53 49 53 63 72 |LOBAL.nc|rSCSIScr|
|00000540| 69 70 74 20 3d 0d 09 09 | 09 4d 65 6d 41 6c 6c 6f |ipt =...|.MemAllo|
|00000550| 63 61 74 65 50 68 79 73 | 69 63 61 6c 6c 79 43 6f |catePhys|icallyCo|
|00000560| 6e 74 69 67 75 6f 75 73 | 28 67 4e 43 52 53 43 53 |ntiguous|(gNCRSCS|
|00000570| 49 53 63 72 69 70 74 53 | 69 7a 65 2c 20 46 41 4c |IScriptS|ize, FAL|
|00000580| 53 45 29 3b 0d 09 09 69 | 66 20 28 47 4c 4f 42 41 |SE);...i|f (GLOBA|
|00000590| 4c 2e 6e 63 72 53 43 53 | 49 53 63 72 69 70 74 20 |L.ncrSCS|IScript |
|000005a0| 3d 3d 20 4e 55 4c 4c 29 | 20 7b 0d 09 09 09 73 74 |== NULL)| {....st|
|000005b0| 61 74 75 73 20 3d 20 6d | 65 6d 46 75 6c 6c 45 72 |atus = m|emFullEr|
|000005c0| 72 3b 0d 09 09 09 43 68 | 65 63 6b 53 74 61 74 75 |r;....Ch|eckStatu|
|000005d0| 73 28 73 74 61 74 75 73 | 2c 20 22 5c 70 4e 6f 20 |s(status|, "\pNo |
|000005e0| 6d 65 6d 6f 72 79 20 66 | 6f 72 20 73 63 72 69 70 |memory f|or scrip|
|000005f0| 74 20 63 6f 70 79 22 29 | 3b 0d 09 09 7d 0d 09 09 |t copy")|;...}...|
|00000600| 65 6c 73 65 20 7b 0d 09 | 09 09 42 6c 6f 63 6b 43 |else {..|..BlockC|
|00000610| 6f 70 79 28 67 4e 43 52 | 53 43 53 49 53 63 72 69 |opy(gNCR|SCSIScri|
|00000620| 70 74 2c 20 47 4c 4f 42 | 41 4c 2e 6e 63 72 53 43 |pt, GLOB|AL.ncrSC|
|00000630| 53 49 53 63 72 69 70 74 | 2c 20 67 4e 43 52 53 43 |SIScript|, gNCRSC|
|00000640| 53 49 53 63 72 69 70 74 | 53 69 7a 65 29 3b 0d 09 |SIScript|Size);..|
|00000650| 09 09 47 4c 4f 42 41 4c | 2e 73 63 72 69 70 74 49 |..GLOBAL|.scriptI|
|00000660| 4f 54 61 62 6c 65 2e 6f | 70 74 69 6f 6e 73 20 3d |OTable.o|ptions =|
|00000670| 0d 09 09 09 09 09 09 28 | 20 28 30 20 2a 20 6b 49 |.......(| (0 * kI|
|00000680| 4f 49 73 49 6e 70 75 74 | 29 09 09 09 09 2f 2a 20 |OIsInput|)..../* |
|00000690| 43 68 69 70 20 77 6f 6e | 27 74 20 77 72 69 74 65 |Chip won|'t write|
|000006a0| 20 73 63 72 69 70 74 09 | 2a 2f 0d 09 09 09 09 09 | script.|*/......|
|000006b0| 09 7c 20 28 31 20 2a 20 | 6b 49 4f 49 73 4f 75 74 |.| (1 * |kIOIsOut|
|000006c0| 70 75 74 29 09 09 09 09 | 2f 2a 20 43 68 69 70 20 |put)....|/* Chip |
|000006d0| 72 65 61 64 73 20 74 68 | 65 20 73 63 72 69 70 74 |reads th|e script|
|000006e0| 09 2a 2f 0d 09 09 09 09 | 09 09 7c 20 28 30 20 2a |.*/.....|..| (0 *|
|000006f0| 20 6b 49 4f 4d 75 6c 74 | 69 70 6c 65 52 61 6e 67 | kIOMult|ipleRang|
|00000700| 65 73 29 09 09 2f 2a 20 | 4e 6f 20 73 63 61 74 74 |es)../* |No scatt|
|00000710| 65 72 2d 67 61 74 68 65 | 72 20 6c 69 73 74 09 2a |er-gathe|r list.*|
|00000720| 2f 0d 09 09 09 09 09 09 | 7c 20 28 31 20 2a 20 6b |/.......|| (1 * k|
|00000730| 49 4f 4c 6f 67 69 63 61 | 6c 52 61 6e 67 65 73 29 |IOLogica|lRanges)|
|00000740| 09 09 2f 2a 20 4c 6f 67 | 69 63 61 6c 20 61 64 64 |../* Log|ical add|
|00000750| 72 65 73 73 65 73 09 09 | 2a 2f 0d 09 09 09 09 09 |resses..|*/......|
|00000760| 09 7c 20 28 30 20 2a 20 | 6b 49 4f 4d 69 6e 69 6d |.| (0 * |kIOMinim|
|00000770| 61 6c 4c 6f 67 69 63 61 | 6c 4d 61 70 70 69 6e 67 |alLogica|lMapping|
|00000780| 29 20 2f 2a 20 4e 6f 72 | 6d 61 6c 20 6c 6f 67 69 |) /* Nor|mal logi|
|00000790| 63 61 6c 20 6d 61 70 70 | 69 6e 67 09 2a 2f 0d 09 |cal mapp|ing.*/..|
|000007a0| 09 09 09 09 09 7c 20 28 | 31 20 2a 20 6b 49 4f 53 |.....| (|1 * kIOS|
|000007b0| 68 61 72 65 4d 61 70 70 | 69 6e 67 54 61 62 6c 65 |hareMapp|ingTable|
|000007c0| 73 29 09 2f 2a 20 53 68 | 61 72 65 20 77 69 74 68 |s)./* Sh|are with|
|000007d0| 20 4b 65 72 6e 65 6c 09 | 09 2a 2f 0d 09 09 09 09 | Kernel.|.*/.....|
|000007e0| 09 09 7c 20 28 30 20 2a | 20 6b 49 4f 43 6f 68 65 |..| (0 *| kIOCohe|
|000007f0| 72 65 6e 74 44 61 74 61 | 50 61 74 68 29 09 09 2f |rentData|Path)../|
|00000800| 2a 20 4e 6f 20 66 61 6e | 63 79 20 64 61 74 61 20 |* No fan|cy data |
|00000810| 70 61 74 68 09 09 2a 2f | 0d 09 09 09 09 09 09 29 |path..*/|.......)|
|00000820| 3b 0d 09 09 09 47 4c 4f | 42 41 4c 2e 73 63 72 69 |;....GLO|BAL.scri|
|00000830| 70 74 49 4f 54 61 62 6c | 65 2e 61 64 64 72 65 73 |ptIOTabl|e.addres|
|00000840| 73 53 70 61 63 65 20 3d | 20 61 64 64 72 65 73 73 |sSpace =| address|
|00000850| 53 70 61 63 65 49 44 3b | 0d 09 09 09 47 4c 4f 42 |SpaceID;|....GLOB|
|00000860| 41 4c 2e 73 63 72 69 70 | 74 49 4f 54 61 62 6c 65 |AL.scrip|tIOTable|
|00000870| 2e 66 69 72 73 74 50 72 | 65 70 61 72 65 64 20 3d |.firstPr|epared =|
|00000880| 20 30 3b 0d 09 09 09 47 | 4c 4f 42 41 4c 2e 73 63 | 0;....G|LOBAL.sc|
|00000890| 72 69 70 74 49 4f 54 61 | 62 6c 65 2e 6c 6f 67 69 |riptIOTa|ble.logi|
|000008a0| 63 61 6c 4d 61 70 70 69 | 6e 67 20 3d 20 4e 55 4c |calMappi|ng = NUL|
|000008b0| 4c 3b 0d 09 09 09 47 4c | 4f 42 41 4c 2e 73 63 72 |L;....GL|OBAL.scr|
|000008c0| 69 70 74 49 4f 54 61 62 | 6c 65 2e 72 61 6e 67 65 |iptIOTab|le.range|
|000008d0| 49 6e 66 6f 2e 72 61 6e | 67 65 2e 62 61 73 65 20 |Info.ran|ge.base |
|000008e0| 3d 20 47 4c 4f 42 41 4c | 2e 6e 63 72 53 43 53 49 |= GLOBAL|.ncrSCSI|
|000008f0| 53 63 72 69 70 74 3b 0d | 09 09 09 47 4c 4f 42 41 |Script;.|...GLOBA|
|00000900| 4c 2e 73 63 72 69 70 74 | 49 4f 54 61 62 6c 65 2e |L.script|IOTable.|
|00000910| 72 61 6e 67 65 49 6e 66 | 6f 2e 72 61 6e 67 65 2e |rangeInf|o.range.|
|00000920| 6c 65 6e 67 74 68 20 3d | 20 67 4e 43 52 53 43 53 |length =| gNCRSCS|
|00000930| 49 53 63 72 69 70 74 53 | 69 7a 65 3b 0d 09 09 09 |IScriptS|ize;....|
|00000940| 6d 61 70 45 6e 74 72 69 | 65 73 4e 65 65 64 65 64 |mapEntri|esNeeded|
|00000950| 20 3d 20 47 65 74 4d 61 | 70 45 6e 74 72 79 43 6f | = GetMa|pEntryCo|
|00000960| 75 6e 74 28 47 4c 4f 42 | 41 4c 2e 6e 63 72 53 43 |unt(GLOB|AL.ncrSC|
|00000970| 53 49 53 63 72 69 70 74 | 2c 20 67 4e 43 52 53 43 |SIScript|, gNCRSC|
|00000980| 53 49 53 63 72 69 70 74 | 53 69 7a 65 29 3b 0d 09 |SIScript|Size);..|
|00000990| 09 09 47 4c 4f 42 41 4c | 2e 73 63 72 69 70 74 49 |..GLOBAL|.scriptI|
|000009a0| 4f 54 61 62 6c 65 2e 6d | 61 70 70 69 6e 67 45 6e |OTable.m|appingEn|
|000009b0| 74 72 79 43 6f 75 6e 74 | 20 3d 20 6d 61 70 45 6e |tryCount| = mapEn|
|000009c0| 74 72 69 65 73 4e 65 65 | 64 65 64 3b 0d 09 09 09 |triesNee|ded;....|
|000009d0| 47 4c 4f 42 41 4c 2e 73 | 63 72 69 70 74 49 4f 54 |GLOBAL.s|criptIOT|
|000009e0| 61 62 6c 65 2e 70 68 79 | 73 69 63 61 6c 4d 61 70 |able.phy|sicalMap|
|000009f0| 70 69 6e 67 20 3d 20 50 | 6f 6f 6c 41 6c 6c 6f 63 |ping = P|oolAlloc|
|00000a00| 61 74 65 52 65 73 69 64 | 65 6e 74 28 0d 09 09 09 |ateResid|ent(....|
|00000a10| 09 09 09 6d 61 70 45 6e | 74 72 69 65 73 4e 65 65 |...mapEn|triesNee|
|00000a20| 64 65 64 20 2a 20 73 69 | 7a 65 6f 66 20 28 50 68 |ded * si|zeof (Ph|
|00000a30| 79 73 69 63 61 6c 41 64 | 64 72 65 73 73 29 2c 0d |ysicalAd|dress),.|
|00000a40| 09 09 09 09 09 09 54 52 | 55 45 0d 09 09 09 09 09 |......TR|UE......|
|00000a50| 29 3b 0d 09 09 09 73 74 | 61 74 75 73 20 3d 20 28 |);....st|atus = (|
|00000a60| 47 4c 4f 42 41 4c 2e 73 | 63 72 69 70 74 49 4f 54 |GLOBAL.s|criptIOT|
|00000a70| 61 62 6c 65 2e 70 68 79 | 73 69 63 61 6c 4d 61 70 |able.phy|sicalMap|
|00000a80| 70 69 6e 67 20 21 3d 20 | 4e 55 4c 4c 29 20 3f 20 |ping != |NULL) ? |
|00000a90| 6e 6f 45 72 72 20 3a 20 | 6d 65 6d 46 75 6c 6c 45 |noErr : |memFullE|
|00000aa0| 72 72 3b 0d 09 09 7d 0d | 09 09 43 68 65 63 6b 53 |rr;...}.|..CheckS|
|00000ab0| 74 61 74 75 73 28 73 74 | 61 74 75 73 2c 20 22 5c |tatus(st|atus, "\|
|00000ac0| 70 41 6c 6c 6f 63 61 74 | 65 20 53 63 72 69 70 74 |pAllocat|e Script|
|00000ad0| 20 50 68 79 73 69 63 61 | 6c 4d 61 70 70 69 6e 67 | Physica|lMapping|
|00000ae0| 22 29 3b 0d 09 09 69 66 | 20 28 73 74 61 74 75 73 |");...if| (status|
|00000af0| 20 3d 3d 20 6e 6f 45 72 | 72 29 20 7b 0d 09 09 09 | == noEr|r) {....|
|00000b00| 73 74 61 74 75 73 20 3d | 20 50 72 65 70 61 72 65 |status =| Prepare|
|00000b10| 4d 65 6d 6f 72 79 46 6f | 72 49 4f 28 26 47 4c 4f |MemoryFo|rIO(&GLO|
|00000b20| 42 41 4c 2e 73 63 72 69 | 70 74 49 4f 54 61 62 6c |BAL.scri|ptIOTabl|
|00000b30| 65 29 3b 0d 09 09 09 43 | 68 65 63 6b 53 74 61 74 |e);....C|heckStat|
|00000b40| 75 73 28 73 74 61 74 75 | 73 2c 20 22 5c 70 50 72 |us(statu|s, "\pPr|
|00000b50| 65 70 61 72 65 4d 65 6d | 6f 72 79 20 66 6f 72 20 |epareMem|ory for |
|00000b60| 53 63 72 69 70 74 22 29 | 3b 0d 09 09 7d 0d 09 09 |Script")|;...}...|
|00000b70| 69 66 20 28 73 74 61 74 | 75 73 20 3d 3d 20 6e 6f |if (stat|us == no|
|00000b80| 45 72 72 29 0d 09 09 09 | 73 74 61 74 75 73 20 3d |Err)....|status =|
|00000b90| 20 43 68 65 63 6b 46 6f | 72 43 6f 6e 74 69 67 75 | CheckFo|rContigu|
|00000ba0| 6f 75 73 50 68 79 73 69 | 63 61 6c 4d 61 70 70 69 |ousPhysi|calMappi|
|00000bb0| 6e 67 28 26 47 4c 4f 42 | 41 4c 2e 73 63 72 69 70 |ng(&GLOB|AL.scrip|
|00000bc0| 74 49 4f 54 61 62 6c 65 | 29 3b 0d 09 09 69 66 20 |tIOTable|);...if |
|00000bd0| 28 73 74 61 74 75 73 20 | 21 3d 20 6e 6f 45 72 72 |(status |!= noErr|
|00000be0| 29 0d 09 09 09 50 75 62 | 6c 69 73 68 49 6e 69 74 |)....Pub|lishInit|
|00000bf0| 46 61 69 6c 75 72 65 4d | 73 67 28 73 74 61 74 75 |FailureM|sg(statu|
|00000c00| 73 2c 20 22 5c 70 50 72 | 65 70 61 72 65 4d 65 6d |s, "\pPr|epareMem|
|00000c10| 6f 72 79 46 6f 72 53 63 | 72 69 70 74 20 66 61 69 |oryForSc|ript fai|
|00000c20| 6c 65 64 22 29 3b 0d 09 | 09 72 65 74 75 72 6e 20 |led");..|.return |
|00000c30| 28 73 74 61 74 75 73 29 | 3b 0d 7d 0d 0d 2f 2a 0d |(status)|;.}../*.|
|00000c40| 20 2a 20 44 69 73 70 6f | 73 65 20 6f 66 20 74 68 | * Dispo|se of th|
|00000c50| 65 20 73 63 72 69 70 74 | 20 49 2f 4f 20 70 72 65 |e script| I/O pre|
|00000c60| 70 61 72 61 74 69 6f 6e | 20 74 61 62 6c 65 2e 20 |paration| table. |
|00000c70| 54 68 69 73 20 69 73 20 | 63 61 6c 6c 65 64 20 77 |This is |called w|
|00000c80| 68 65 6e 20 74 68 65 20 | 64 72 69 76 65 72 20 73 |hen the |driver s|
|00000c90| 74 6f 70 73 2e 0d 20 2a | 2f 0d 76 6f 69 64 0d 44 |tops.. *|/.void.D|
|00000ca0| 69 73 70 6f 73 65 4d 65 | 6d 6f 72 79 46 6f 72 53 |isposeMe|moryForS|
|00000cb0| 63 72 69 70 74 28 76 6f | 69 64 29 0d 7b 0d 09 09 |cript(vo|id).{...|
|00000cc0| 54 72 61 63 65 28 44 69 | 73 70 6f 73 65 4d 65 6d |Trace(Di|sposeMem|
|00000cd0| 6f 72 79 46 6f 72 53 63 | 72 69 70 74 29 3b 0d 09 |oryForSc|ript);..|
|00000ce0| 09 43 68 65 63 6b 70 6f | 69 6e 74 49 4f 54 61 62 |.Checkpo|intIOTab|
|00000cf0| 6c 65 28 26 47 4c 4f 42 | 41 4c 2e 73 63 72 69 70 |le(&GLOB|AL.scrip|
|00000d00| 74 49 4f 54 61 62 6c 65 | 29 3b 0d 09 09 69 66 20 |tIOTable|);...if |
|00000d10| 28 47 4c 4f 42 41 4c 2e | 73 63 72 69 70 74 49 4f |(GLOBAL.|scriptIO|
|00000d20| 54 61 62 6c 65 2e 70 68 | 79 73 69 63 61 6c 4d 61 |Table.ph|ysicalMa|
|00000d30| 70 70 69 6e 67 20 21 3d | 20 4e 55 4c 4c 29 0d 09 |pping !=| NULL)..|
|00000d40| 09 09 28 76 6f 69 64 29 | 20 50 6f 6f 6c 44 65 61 |..(void)| PoolDea|
|00000d50| 6c 6c 6f 63 61 74 65 28 | 47 4c 4f 42 41 4c 2e 73 |llocate(|GLOBAL.s|
|00000d60| 63 72 69 70 74 49 4f 54 | 61 62 6c 65 2e 70 68 79 |criptIOT|able.phy|
|00000d70| 73 69 63 61 6c 4d 61 70 | 70 69 6e 67 29 3b 0d 09 |sicalMap|ping);..|
|00000d80| 09 43 4c 45 41 52 28 47 | 4c 4f 42 41 4c 2e 73 63 |.CLEAR(G|LOBAL.sc|
|00000d90| 72 69 70 74 49 4f 54 61 | 62 6c 65 29 3b 0d 09 09 |riptIOTa|ble);...|
|00000da0| 69 66 20 28 47 4c 4f 42 | 41 4c 2e 6e 63 72 53 43 |if (GLOB|AL.ncrSC|
|00000db0| 53 49 53 63 72 69 70 74 | 20 21 3d 20 4e 55 4c 4c |SIScript| != NULL|
|00000dc0| 29 20 7b 0d 09 09 09 4d | 65 6d 44 65 61 6c 6c 6f |) {....M|emDeallo|
|00000dd0| 63 61 74 65 50 68 79 73 | 69 63 61 6c 6c 79 43 6f |catePhys|icallyCo|
|00000de0| 6e 74 69 67 75 6f 75 73 | 28 47 4c 4f 42 41 4c 2e |ntiguous|(GLOBAL.|
|00000df0| 6e 63 72 53 43 53 49 53 | 63 72 69 70 74 29 3b 0d |ncrSCSIS|cript);.|
|00000e00| 09 09 09 47 4c 4f 42 41 | 4c 2e 6e 63 72 53 43 53 |...GLOBA|L.ncrSCS|
|00000e10| 49 53 63 72 69 70 74 20 | 3d 20 4e 55 4c 4c 3b 0d |IScript |= NULL;.|
|00000e20| 09 09 7d 0d 7d 0d 0d 2f | 2a 0d 20 2a 20 43 72 65 |..}.}../|*. * Cre|
|00000e30| 61 74 65 20 61 20 50 65 | 72 52 65 71 75 65 73 74 |ate a Pe|rRequest|
|00000e40| 20 72 65 63 6f 72 64 20 | 61 6e 64 20 69 74 73 20 | record |and its |
|00000e50| 49 2f 4f 20 50 72 65 70 | 61 72 61 74 69 6f 6e 20 |I/O Prep|aration |
|00000e60| 74 61 62 6c 65 2e 20 54 | 6f 20 63 72 65 61 74 65 |table. T|o create|
|00000e70| 20 74 68 65 20 74 61 62 | 6c 65 2c 20 77 65 0d 20 | the tab|le, we. |
|00000e80| 2a 20 6d 75 73 74 20 66 | 69 72 73 74 20 64 65 74 |* must f|irst det|
|00000e90| 65 72 6d 69 6e 65 20 74 | 68 65 20 6e 75 6d 62 65 |ermine t|he numbe|
|00000ea0| 72 20 6f 66 20 70 68 79 | 73 69 63 61 6c 20 6d 61 |r of phy|sical ma|
|00000eb0| 70 70 69 6e 67 20 74 61 | 62 6c 65 20 65 6e 74 72 |pping ta|ble entr|
|00000ec0| 69 65 73 20 77 65 20 77 | 69 6c 6c 20 6e 65 65 64 |ies we w|ill need|
|00000ed0| 20 66 6f 72 0d 20 2a 20 | 74 68 65 20 75 73 65 72 | for. * |the user|
|00000ee0| 20 49 2f 4f 20 72 65 71 | 75 65 73 74 20 61 6e 64 | I/O req|uest and|
|00000ef0| 20 74 68 65 20 50 65 72 | 52 65 71 75 65 73 74 52 | the Per|RequestR|
|00000f00| 65 63 6f 72 64 20 69 74 | 73 65 6c 66 2e 0d 20 2a |ecord it|self.. *|
|00000f10| 0d 20 2a 20 54 68 69 73 | 20 69 73 20 63 61 6c 6c |. * This| is call|
|00000f20| 65 64 20 77 68 65 6e 20 | 74 68 65 20 64 72 69 76 |ed when |the driv|
|00000f30| 65 72 20 73 74 61 72 74 | 73 2e 20 49 66 20 77 65 |er start|s. If we|
|00000f40| 20 73 75 70 70 6f 72 74 | 20 63 6f 6e 63 75 72 72 | support| concurr|
|00000f50| 65 6e 74 20 49 2f 4f 2c | 20 77 65 20 63 72 65 61 |ent I/O,| we crea|
|00000f60| 74 65 0d 20 2a 20 73 65 | 76 65 72 61 6c 20 6f 66 |te. * se|veral of|
|00000f70| 20 74 68 65 73 65 20 72 | 65 63 6f 72 64 73 2e 20 | these r|ecords. |
|00000f80| 54 68 65 20 70 65 72 2d | 72 65 71 75 65 73 74 20 |The per-|request |
|00000f90| 72 65 63 6f 72 64 20 69 | 73 20 61 20 73 6d 61 6c |record i|s a smal|
|00000fa0| 6c 20 61 6d 6f 75 6e 74 | 20 6f 66 20 6d 65 6d 6f |l amount| of memo|
|00000fb0| 72 79 20 74 68 61 74 0d | 20 2a 20 69 73 20 73 68 |ry that.| * is sh|
|00000fc0| 61 72 65 64 20 62 65 74 | 77 65 65 6e 20 74 68 65 |ared bet|ween the|
|00000fd0| 20 4e 43 52 20 63 61 72 | 64 20 61 6e 64 20 74 68 | NCR car|d and th|
|00000fe0| 65 20 64 72 69 76 65 72 | 2e 0d 20 2a 2f 0d 4f 53 |e driver|.. */.OS|
|00000ff0| 45 72 72 0d 43 72 65 61 | 74 65 50 65 72 52 65 71 |Err.Crea|tePerReq|
|00001000| 75 65 73 74 52 65 63 6f | 72 64 28 0d 09 09 41 64 |uestReco|rd(...Ad|
|00001010| 64 72 65 73 73 53 70 61 | 63 65 49 44 09 09 09 61 |dressSpa|ceID...a|
|00001020| 64 64 72 65 73 73 53 70 | 61 63 65 49 44 0d 09 29 |ddressSp|aceID..)|
|00001030| 0d 7b 0d 09 09 4f 53 45 | 72 72 09 09 09 09 09 73 |.{...OSE|rr.....s|
|00001040| 74 61 74 75 73 3b 0d 09 | 09 4f 53 53 74 61 74 75 |tatus;..|.OSStatu|
|00001050| 73 09 09 09 09 6f 73 53 | 74 61 74 75 73 3b 0d 09 |s....osS|tatus;..|
|00001060| 09 50 65 72 52 65 71 75 | 65 73 74 44 61 74 61 50 |.PerRequ|estDataP|
|00001070| 74 72 09 09 70 65 72 52 | 65 71 75 65 73 74 44 61 |tr..perR|equestDa|
|00001080| 74 61 50 74 72 3b 0d 09 | 09 49 74 65 6d 43 6f 75 |taPtr;..|.ItemCou|
|00001090| 6e 74 09 09 09 09 72 65 | 71 75 65 73 74 4d 61 70 |nt....re|questMap|
|000010a0| 45 6e 74 72 69 65 73 3b | 09 09 2f 2a 20 50 65 72 |Entries;|../* Per|
|000010b0| 52 65 71 75 65 73 74 44 | 61 74 61 20 6f 6e 6c 79 |RequestD|ata only|
|000010c0| 09 09 2a 2f 0d 09 09 42 | 79 74 65 43 6f 75 6e 74 |..*/...B|yteCount|
|000010d0| 09 09 09 09 6d 61 70 54 | 61 62 6c 65 53 69 7a 65 |....mapT|ableSize|
|000010e0| 3b 0d 23 64 65 66 69 6e | 65 20 52 45 51 55 45 53 |;.#defin|e REQUES|
|000010f0| 54 09 28 2a 70 65 72 52 | 65 71 75 65 73 74 44 61 |T.(*perR|equestDa|
|00001100| 74 61 50 74 72 29 0d 0d | 09 09 54 72 61 63 65 28 |taPtr)..|..Trace(|
|00001110| 43 72 65 61 74 65 50 65 | 72 52 65 71 75 65 73 74 |CreatePe|rRequest|
|00001120| 52 65 63 6f 72 64 29 3b | 0d 09 09 70 65 72 52 65 |Record);|...perRe|
|00001130| 71 75 65 73 74 44 61 74 | 61 50 74 72 20 3d 20 28 |questDat|aPtr = (|
|00001140| 50 65 72 52 65 71 75 65 | 73 74 44 61 74 61 50 74 |PerReque|stDataPt|
|00001150| 72 29 0d 09 09 09 09 09 | 4d 65 6d 41 6c 6c 6f 63 |r)......|MemAlloc|
|00001160| 61 74 65 50 68 79 73 69 | 63 61 6c 6c 79 43 6f 6e |atePhysi|callyCon|
|00001170| 74 69 67 75 6f 75 73 28 | 73 69 7a 65 6f 66 20 28 |tiguous(|sizeof (|
|00001180| 50 65 72 52 65 71 75 65 | 73 74 44 61 74 61 29 2c |PerReque|stData),|
|00001190| 20 54 52 55 45 29 3b 0d | 09 09 73 74 61 74 75 73 | TRUE);.|..status|
|000011a0| 20 3d 20 28 70 65 72 52 | 65 71 75 65 73 74 44 61 | = (perR|equestDa|
|000011b0| 74 61 50 74 72 20 21 3d | 20 4e 55 4c 4c 29 20 3f |taPtr !=| NULL) ?|
|000011c0| 20 6e 6f 45 72 72 20 3a | 20 6d 65 6d 46 75 6c 6c | noErr :| memFull|
|000011d0| 45 72 72 3b 0d 09 09 43 | 68 65 63 6b 53 74 61 74 |Err;...C|heckStat|
|000011e0| 75 73 28 73 74 61 74 75 | 73 2c 20 22 5c 70 41 6c |us(statu|s, "\pAl|
|000011f0| 6c 6f 63 61 74 65 20 50 | 65 72 52 65 71 75 65 73 |locate P|erReques|
|00001200| 74 52 65 63 6f 72 64 22 | 29 3b 0d 09 09 69 66 20 |tRecord"|);...if |
|00001210| 28 73 74 61 74 75 73 20 | 3d 3d 20 6e 6f 45 72 72 |(status |== noErr|
|00001220| 29 20 7b 0d 09 09 09 2f | 2a 0d 09 09 09 20 2a 20 |) {..../|*.... * |
|00001230| 50 72 65 70 61 72 65 4e | 65 78 74 44 4d 41 54 72 |PrepareN|extDMATr|
|00001240| 61 6e 73 66 65 72 20 77 | 69 6c 6c 20 62 65 20 63 |ansfer w|ill be c|
|00001250| 61 6c 6c 65 64 20 28 61 | 73 20 61 20 53 6f 66 74 |alled (a|s a Soft|
|00001260| 77 61 72 65 20 54 61 73 | 6b 29 20 74 6f 20 70 72 |ware Tas|k) to pr|
|00001270| 65 70 61 72 65 0d 09 09 | 09 20 2a 20 61 20 73 75 |epare...|. * a su|
|00001280| 62 73 65 71 75 65 6e 74 | 20 22 63 68 75 6e 6b 22 |bsequent| "chunk"|
|00001290| 20 6f 66 20 44 4d 41 20 | 69 66 20 74 68 65 20 6f | of DMA |if the o|
|000012a0| 72 69 67 69 6e 61 6c 20 | 70 72 65 70 61 72 61 74 |riginal |preparat|
|000012b0| 69 6f 6e 20 69 73 20 69 | 6e 63 6f 6d 70 6c 65 74 |ion is i|ncomplet|
|000012c0| 65 2e 0d 09 09 09 20 2a | 2f 0d 09 09 09 6f 73 53 |e..... *|/....osS|
|000012d0| 74 61 74 75 73 20 3d 20 | 43 72 65 61 74 65 53 6f |tatus = |CreateSo|
|000012e0| 66 74 77 61 72 65 49 6e | 74 65 72 72 75 70 74 28 |ftwareIn|terrupt(|
|000012f0| 0d 09 09 09 09 09 09 50 | 72 65 70 61 72 65 4e 65 |.......P|repareNe|
|00001300| 78 74 44 4d 41 54 61 73 | 6b 2c 09 09 09 09 2f 2a |xtDMATas|k,..../*|
|00001310| 20 48 61 6e 64 6c 65 72 | 20 66 75 6e 63 74 69 6f | Handler| functio|
|00001320| 6e 09 09 09 2a 2f 0d 09 | 09 09 09 09 09 43 75 72 |n...*/..|.....Cur|
|00001330| 72 65 6e 74 54 61 73 6b | 49 44 28 29 2c 09 09 09 |rentTask|ID(),...|
|00001340| 09 2f 2a 20 46 6f 72 20 | 6d 79 20 64 72 69 76 65 |./* For |my drive|
|00001350| 72 20 74 61 73 6b 09 09 | 2a 2f 0d 09 09 09 09 09 |r task..|*/......|
|00001360| 09 70 65 72 52 65 71 75 | 65 73 74 44 61 74 61 50 |.perRequ|estDataP|
|00001370| 74 72 2c 09 09 09 09 2f | 2a 20 48 61 6e 64 6c 65 |tr,..../|* Handle|
|00001380| 72 20 70 61 72 61 6d 65 | 74 65 72 09 09 2a 2f 0d |r parame|ter..*/.|
|00001390| 09 09 09 09 09 09 54 52 | 55 45 2c 09 09 09 09 09 |......TR|UE,.....|
|000013a0| 09 09 2f 2a 20 50 65 72 | 73 69 73 74 61 6e 74 09 |../* Per|sistant.|
|000013b0| 09 09 09 2a 2f 0d 09 09 | 09 09 09 09 26 52 45 51 |...*/...|....&REQ|
|000013c0| 55 45 53 54 2e 6e 65 78 | 74 44 4d 41 49 6e 74 65 |UEST.nex|tDMAInte|
|000013d0| 72 72 75 70 74 49 44 09 | 09 2f 2a 20 52 65 73 75 |rruptID.|./* Resu|
|000013e0| 6c 74 09 09 09 09 09 2a | 2f 0d 09 09 09 09 09 29 |lt.....*|/......)|
|000013f0| 3b 0d 09 09 09 43 68 65 | 63 6b 53 74 61 74 75 73 |;....Che|ckStatus|
|00001400| 28 6f 73 53 74 61 74 75 | 73 2c 20 22 5c 70 43 72 |(osStatu|s, "\pCr|
|00001410| 65 61 74 65 53 6f 66 74 | 77 61 72 65 49 6e 74 65 |eateSoft|wareInte|
|00001420| 72 72 75 70 74 22 29 3b | 0d 09 09 7d 0d 09 09 69 |rrupt");|...}...i|
|00001430| 66 20 28 73 74 61 74 75 | 73 20 3d 3d 20 6e 6f 45 |f (statu|s == noE|
|00001440| 72 72 29 20 7b 09 09 0d | 09 09 09 47 4c 4f 42 41 |rr) {...|...GLOBA|
|00001450| 4c 2e 70 65 72 52 65 71 | 75 65 73 74 44 61 74 61 |L.perReq|uestData|
|00001460| 50 74 72 20 3d 20 70 65 | 72 52 65 71 75 65 73 74 |Ptr = pe|rRequest|
|00001470| 44 61 74 61 50 74 72 3b | 0d 09 09 09 2f 2a 0d 09 |DataPtr;|..../*..|
|00001480| 09 09 20 2a 20 41 6c 6c | 6f 63 61 74 65 20 61 20 |.. * All|ocate a |
|00001490| 6d 61 78 69 6d 75 6d 2d | 6c 65 6e 67 74 68 20 70 |maximum-|length p|
|000014a0| 68 79 73 69 63 61 6c 20 | 6d 61 70 70 69 6e 67 20 |hysical |mapping |
|000014b0| 74 61 62 6c 65 20 74 68 | 61 74 20 77 69 6c 6c 20 |table th|at will |
|000014c0| 62 65 20 75 73 65 64 20 | 66 6f 72 0d 09 09 09 20 |be used |for.... |
|000014d0| 2a 20 65 61 63 68 20 75 | 73 65 72 20 49 2f 4f 20 |* each u|ser I/O |
|000014e0| 72 65 71 75 65 73 74 2e | 20 42 79 20 70 61 73 73 |request.| By pass|
|000014f0| 69 6e 67 20 61 20 64 75 | 6d 6d 79 20 76 61 6c 75 |ing a du|mmy valu|
|00001500| 65 20 74 68 61 74 20 68 | 61 70 70 65 6e 73 20 74 |e that h|appens t|
|00001510| 6f 20 66 61 6c 6c 0d 09 | 09 09 20 2a 20 61 74 20 |o fall..|.. * at |
|00001520| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 70 |the end |of the p|
|00001530| 61 67 65 2c 20 77 65 27 | 6c 6c 20 67 65 74 20 74 |age, we'|ll get t|
|00001540| 68 65 20 61 73 20 6d 61 | 6e 79 20 65 6e 74 72 69 |he as ma|ny entri|
|00001550| 65 73 20 61 73 20 77 65 | 20 6e 65 65 64 2e 0d 09 |es as we| need...|
|00001560| 09 09 20 2a 2f 0d 09 09 | 09 52 45 51 55 45 53 54 |.. */...|.REQUEST|
|00001570| 2e 73 63 73 69 4d 61 70 | 45 6e 74 72 69 65 73 20 |.scsiMap|Entries |
|00001580| 3d 20 47 65 74 4d 61 70 | 45 6e 74 72 79 43 6f 75 |= GetMap|EntryCou|
|00001590| 6e 74 28 0d 09 09 09 09 | 09 09 28 76 6f 69 64 20 |nt(.....|..(void |
|000015a0| 2a 29 20 28 67 50 61 67 | 65 53 69 7a 65 20 2d 20 |*) (gPag|eSize - |
|000015b0| 31 29 2c 20 6b 4e 43 52 | 44 72 69 76 65 72 4d 61 |1), kNCR|DriverMa|
|000015c0| 78 54 72 61 6e 73 66 65 | 72 29 3b 0d 09 09 09 72 |xTransfe|r);....r|
|000015d0| 65 71 75 65 73 74 4d 61 | 70 45 6e 74 72 69 65 73 |equestMa|pEntries|
|000015e0| 20 3d 20 47 65 74 4d 61 | 70 45 6e 74 72 79 43 6f | = GetMa|pEntryCo|
|000015f0| 75 6e 74 28 70 65 72 52 | 65 71 75 65 73 74 44 61 |unt(perR|equestDa|
|00001600| 74 61 50 74 72 2c 20 73 | 69 7a 65 6f 66 20 28 50 |taPtr, s|izeof (P|
|00001610| 65 72 52 65 71 75 65 73 | 74 44 61 74 61 29 29 3b |erReques|tData));|
|00001620| 0d 09 09 09 6d 61 70 54 | 61 62 6c 65 53 69 7a 65 |....mapT|ableSize|
|00001630| 20 3d 20 28 52 45 51 55 | 45 53 54 2e 73 63 73 69 | = (REQU|EST.scsi|
|00001640| 4d 61 70 45 6e 74 72 69 | 65 73 20 2b 20 72 65 71 |MapEntri|es + req|
|00001650| 75 65 73 74 4d 61 70 45 | 6e 74 72 69 65 73 29 0d |uestMapE|ntries).|
|00001660| 09 09 09 09 09 09 2a 20 | 73 69 7a 65 6f 66 20 28 |......* |sizeof (|
|00001670| 50 68 79 73 69 63 61 6c | 41 64 64 72 65 73 73 29 |Physical|Address)|
|00001680| 3b 0d 09 09 09 52 45 51 | 55 45 53 54 2e 70 68 79 |;....REQ|UEST.phy|
|00001690| 73 69 63 61 6c 4d 61 70 | 54 61 62 6c 65 73 20 3d |sicalMap|Tables =|
|000016a0| 20 50 6f 6f 6c 41 6c 6c | 6f 63 61 74 65 52 65 73 | PoolAll|ocateRes|
|000016b0| 69 64 65 6e 74 28 6d 61 | 70 54 61 62 6c 65 53 69 |ident(ma|pTableSi|
|000016c0| 7a 65 2c 20 54 52 55 45 | 29 3b 0d 09 09 09 2f 2a |ze, TRUE|);..../*|
|000016d0| 0d 09 09 09 20 2a 20 49 | 6e 69 74 69 61 6c 69 7a |.... * I|nitializ|
|000016e0| 65 20 74 68 65 20 63 6f | 6e 73 74 61 6e 74 20 70 |e the co|nstant p|
|000016f0| 61 72 74 20 6f 66 20 74 | 68 65 20 50 65 72 52 65 |art of t|he PerRe|
|00001700| 71 75 65 73 74 20 6d 61 | 70 70 69 6e 67 20 74 61 |quest ma|pping ta|
|00001710| 62 6c 65 2e 20 57 65 20 | 6c 65 61 76 65 0d 09 09 |ble. We |leave...|
|00001720| 09 20 2a 20 74 68 69 73 | 20 70 72 65 70 61 72 65 |. * this| prepare|
|00001730| 64 20 22 66 6f 72 65 76 | 65 72 22 20 66 6f 72 20 |d "forev|er" for |
|00001740| 6e 6f 77 2e 20 49 6e 20 | 74 68 65 20 66 75 74 75 |now. In |the futu|
|00001750| 72 65 2c 20 77 65 20 6d | 61 79 20 63 68 65 63 6b |re, we m|ay check|
|00001760| 70 6f 69 6e 74 20 69 74 | 0d 09 09 09 20 2a 20 73 |point it|.... * s|
|00001770| 6f 20 69 74 20 69 73 20 | 6f 6e 6c 79 20 70 72 65 |o it is |only pre|
|00001780| 70 61 72 65 64 20 77 68 | 69 6c 65 20 61 6e 20 49 |pared wh|ile an I|
|00001790| 2f 4f 20 72 65 71 75 65 | 73 74 20 69 73 20 61 63 |/O reque|st is ac|
|000017a0| 74 69 76 65 2e 0d 09 09 | 09 20 2a 2f 0d 09 09 09 |tive....|. */....|
|000017b0| 52 45 51 55 45 53 54 2e | 70 65 72 52 65 71 75 65 |REQUEST.|perReque|
|000017c0| 73 74 49 4f 54 61 62 6c | 65 2e 6f 70 74 69 6f 6e |stIOTabl|e.option|
|000017d0| 73 20 3d 0d 09 09 09 09 | 09 28 20 28 30 20 2a 20 |s =.....|.( (0 * |
|000017e0| 6b 49 4f 49 73 49 6e 70 | 75 74 29 09 09 09 09 09 |kIOIsInp|ut).....|
|000017f0| 2f 2a 20 54 68 65 73 65 | 20 77 69 6c 6c 20 62 65 |/* These| will be|
|00001800| 20 73 65 74 20 62 79 09 | 09 2a 2f 0d 09 09 09 09 | set by.|.*/.....|
|00001810| 09 7c 20 28 30 20 2a 20 | 6b 49 4f 49 73 4f 75 74 |.| (0 * |kIOIsOut|
|00001820| 70 75 74 29 09 09 09 09 | 09 2f 2a 20 63 61 6c 6c |put)....|./* call|
|00001830| 69 6e 67 20 43 68 65 63 | 6b 70 6f 69 6e 74 49 4f |ing Chec|kpointIO|
|00001840| 09 09 2a 2f 0d 09 09 09 | 09 09 7c 20 28 30 20 2a |..*/....|..| (0 *|
|00001850| 20 6b 49 4f 4d 75 6c 74 | 69 70 6c 65 52 61 6e 67 | kIOMult|ipleRang|
|00001860| 65 73 29 09 09 09 2f 2a | 20 4e 6f 20 73 63 61 74 |es).../*| No scat|
|00001870| 74 65 72 2d 67 61 74 68 | 65 72 20 6c 69 73 74 09 |ter-gath|er list.|
|00001880| 2a 2f 0d 09 09 09 09 09 | 7c 20 28 31 20 2a 20 6b |*/......|| (1 * k|
|00001890| 49 4f 4c 6f 67 69 63 61 | 6c 52 61 6e 67 65 73 29 |IOLogica|lRanges)|
|000018a0| 09 09 09 2f 2a 20 4c 6f | 67 69 63 61 6c 20 61 64 |.../* Lo|gical ad|
|000018b0| 64 72 65 73 73 65 73 09 | 09 2a 2f 0d 09 09 09 09 |dresses.|.*/.....|
|000018c0| 09 7c 20 28 30 20 2a 20 | 6b 49 4f 4d 69 6e 69 6d |.| (0 * |kIOMinim|
|000018d0| 61 6c 4c 6f 67 69 63 61 | 6c 4d 61 70 70 69 6e 67 |alLogica|lMapping|
|000018e0| 29 09 2f 2a 20 4e 6f 72 | 6d 61 6c 20 6c 6f 67 69 |)./* Nor|mal logi|
|000018f0| 63 61 6c 20 6d 61 70 70 | 69 6e 67 09 2a 2f 0d 09 |cal mapp|ing.*/..|
|00001900| 09 09 09 09 7c 20 28 31 | 20 2a 20 6b 49 4f 53 68 |....| (1| * kIOSh|
|00001910| 61 72 65 4d 61 70 70 69 | 6e 67 54 61 62 6c 65 73 |areMappi|ngTables|
|00001920| 29 09 09 2f 2a 20 53 68 | 61 72 65 20 77 69 74 68 |)../* Sh|are with|
|00001930| 20 4b 65 72 6e 65 6c 09 | 09 2a 2f 0d 09 09 09 09 | Kernel.|.*/.....|
|00001940| 09 7c 20 28 30 20 2a 20 | 6b 49 4f 43 6f 68 65 72 |.| (0 * |kIOCoher|
|00001950| 65 6e 74 44 61 74 61 50 | 61 74 68 29 09 09 09 2f |entDataP|ath).../|
|00001960| 2a 20 4e 6f 20 66 61 6e | 63 79 20 64 61 74 61 20 |* No fan|cy data |
|00001970| 70 61 74 68 09 09 2a 2f | 0d 09 09 09 09 09 29 3b |path..*/|......);|
|00001980| 0d 09 09 09 52 45 51 55 | 45 53 54 2e 70 65 72 52 |....REQU|EST.perR|
|00001990| 65 71 75 65 73 74 49 4f | 54 61 62 6c 65 2e 61 64 |equestIO|Table.ad|
|000019a0| 64 72 65 73 73 53 70 61 | 63 65 20 3d 20 61 64 64 |dressSpa|ce = add|
|000019b0| 72 65 73 73 53 70 61 63 | 65 49 44 3b 0d 09 09 09 |ressSpac|eID;....|
|000019c0| 52 45 51 55 45 53 54 2e | 70 65 72 52 65 71 75 65 |REQUEST.|perReque|
|000019d0| 73 74 49 4f 54 61 62 6c | 65 2e 66 69 72 73 74 50 |stIOTabl|e.firstP|
|000019e0| 72 65 70 61 72 65 64 20 | 3d 20 30 3b 0d 09 09 09 |repared |= 0;....|
|000019f0| 52 45 51 55 45 53 54 2e | 70 65 72 52 65 71 75 65 |REQUEST.|perReque|
|00001a00| 73 74 49 4f 54 61 62 6c | 65 2e 6c 6f 67 69 63 61 |stIOTabl|e.logica|
|00001a10| 6c 4d 61 70 70 69 6e 67 | 20 3d 20 4e 55 4c 4c 3b |lMapping| = NULL;|
|00001a20| 0d 09 09 09 52 45 51 55 | 45 53 54 2e 70 65 72 52 |....REQU|EST.perR|
|00001a30| 65 71 75 65 73 74 49 4f | 54 61 62 6c 65 2e 72 61 |equestIO|Table.ra|
|00001a40| 6e 67 65 49 6e 66 6f 2e | 72 61 6e 67 65 2e 62 61 |ngeInfo.|range.ba|
|00001a50| 73 65 20 3d 20 70 65 72 | 52 65 71 75 65 73 74 44 |se = per|RequestD|
|00001a60| 61 74 61 50 74 72 3b 0d | 09 09 09 52 45 51 55 45 |ataPtr;.|...REQUE|
|00001a70| 53 54 2e 70 65 72 52 65 | 71 75 65 73 74 49 4f 54 |ST.perRe|questIOT|
|00001a80| 61 62 6c 65 2e 72 61 6e | 67 65 49 6e 66 6f 2e 72 |able.ran|geInfo.r|
|00001a90| 61 6e 67 65 2e 6c 65 6e | 67 74 68 20 3d 20 73 69 |ange.len|gth = si|
|00001aa0| 7a 65 6f 66 20 28 50 65 | 72 52 65 71 75 65 73 74 |zeof (Pe|rRequest|
|00001ab0| 44 61 74 61 29 3b 0d 09 | 09 09 52 45 51 55 45 53 |Data);..|..REQUES|
|00001ac0| 54 2e 70 65 72 52 65 71 | 75 65 73 74 49 4f 54 61 |T.perReq|uestIOTa|
|00001ad0| 62 6c 65 2e 70 68 79 73 | 69 63 61 6c 4d 61 70 70 |ble.phys|icalMapp|
|00001ae0| 69 6e 67 20 3d 0d 09 09 | 09 09 09 09 26 52 45 51 |ing =...|....&REQ|
|00001af0| 55 45 53 54 2e 70 68 79 | 73 69 63 61 6c 4d 61 70 |UEST.phy|sicalMap|
|00001b00| 54 61 62 6c 65 73 5b 52 | 45 51 55 45 53 54 2e 73 |Tables[R|EQUEST.s|
|00001b10| 63 73 69 4d 61 70 45 6e | 74 72 69 65 73 5d 3b 0d |csiMapEn|tries];.|
|00001b20| 09 09 09 52 45 51 55 45 | 53 54 2e 70 65 72 52 65 |...REQUE|ST.perRe|
|00001b30| 71 75 65 73 74 49 4f 54 | 61 62 6c 65 2e 6d 61 70 |questIOT|able.map|
|00001b40| 70 69 6e 67 45 6e 74 72 | 79 43 6f 75 6e 74 20 3d |pingEntr|yCount =|
|00001b50| 20 72 65 71 75 65 73 74 | 4d 61 70 45 6e 74 72 69 | request|MapEntri|
|00001b60| 65 73 3b 0d 09 09 09 2f | 2a 0d 09 09 09 20 2a 20 |es;..../|*.... * |
|00001b70| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 65 20 50 65 |Note tha|t the Pe|
|00001b80| 72 52 65 71 75 65 73 74 | 44 61 74 61 20 72 65 63 |rRequest|Data rec|
|00001b90| 6f 72 64 20 69 73 20 70 | 72 65 70 61 72 65 64 20 |ord is p|repared |
|00001ba0| 6f 6e 63 65 2c 20 61 6e | 64 20 63 68 65 63 6b 70 |once, an|d checkp|
|00001bb0| 6f 69 6e 74 65 64 0d 09 | 09 09 20 2a 20 62 65 66 |ointed..|.. * bef|
|00001bc0| 6f 72 65 20 61 6e 64 20 | 61 66 74 65 72 20 65 61 |ore and |after ea|
|00001bd0| 63 68 20 74 72 61 6e 73 | 61 63 74 69 6f 6e 20 2d |ch trans|action -|
|00001be0| 2d 20 6b 4d 6f 72 65 54 | 72 61 6e 73 66 65 72 73 |- kMoreT|ransfers|
|00001bf0| 20 77 69 6c 6c 20 62 65 | 20 75 73 65 64 20 73 6f | will be| used so|
|00001c00| 0d 09 09 09 20 2a 20 74 | 68 61 74 20 73 79 73 74 |.... * t|hat syst|
|00001c10| 65 6d 20 72 65 73 6f 75 | 72 63 65 73 ca 61 72 65 |em resou|rces.are|
|00001c20| 20 6e 6f 74 20 72 65 6c | 65 61 73 65 64 2e 0d 09 | not rel|eased...|
|00001c30| 09 09 20 2a 2f 0d 09 09 | 09 73 74 61 74 75 73 20 |.. */...|.status |
|00001c40| 3d 20 50 72 65 70 61 72 | 65 4d 65 6d 6f 72 79 46 |= Prepar|eMemoryF|
|00001c50| 6f 72 49 4f 28 26 52 45 | 51 55 45 53 54 2e 70 65 |orIO(&RE|QUEST.pe|
|00001c60| 72 52 65 71 75 65 73 74 | 49 4f 54 61 62 6c 65 29 |rRequest|IOTable)|
|00001c70| 3b 0d 09 09 09 43 68 65 | 63 6b 53 74 61 74 75 73 |;....Che|ckStatus|
|00001c80| 28 73 74 61 74 75 73 2c | 20 22 5c 70 50 72 65 70 |(status,| "\pPrep|
|00001c90| 61 72 65 4d 65 6d 6f 72 | 79 46 6f 72 49 4f 20 70 |areMemor|yForIO p|
|00001ca0| 65 72 52 65 71 75 65 73 | 74 22 29 3b 0d 09 09 7d |erReques|t");...}|
|00001cb0| 0d 09 09 69 66 20 28 73 | 74 61 74 75 73 20 21 3d |...if (s|tatus !=|
|00001cc0| 20 6e 6f 45 72 72 29 0d | 09 09 09 44 69 73 70 6f | noErr).|...Dispo|
|00001cd0| 73 65 50 65 72 52 65 71 | 75 65 73 74 52 65 63 6f |sePerReq|uestReco|
|00001ce0| 72 64 28 26 47 4c 4f 42 | 41 4c 2e 70 65 72 52 65 |rd(&GLOB|AL.perRe|
|00001cf0| 71 75 65 73 74 44 61 74 | 61 50 74 72 29 3b 0d 09 |questDat|aPtr);..|
|00001d00| 09 69 66 20 28 73 74 61 | 74 75 73 20 21 3d 20 6e |.if (sta|tus != n|
|00001d10| 6f 45 72 72 29 0d 09 09 | 09 50 75 62 6c 69 73 68 |oErr)...|.Publish|
|00001d20| 49 6e 69 74 46 61 69 6c | 75 72 65 4d 73 67 28 73 |InitFail|ureMsg(s|
|00001d30| 74 61 74 75 73 2c 20 22 | 5c 70 50 72 65 70 61 72 |tatus, "|\pPrepar|
|00001d40| 65 4d 65 6d 6f 72 79 46 | 6f 72 53 63 72 69 70 74 |eMemoryF|orScript|
|00001d50| 20 66 61 69 6c 65 64 22 | 29 3b 0d 09 09 72 65 74 | failed"|);...ret|
|00001d60| 75 72 6e 20 28 73 74 61 | 74 75 73 29 3b 0d 23 75 |urn (sta|tus);.#u|
|00001d70| 6e 64 65 66 20 52 45 51 | 55 45 53 54 0d 7d 0d 0d |ndef REQ|UEST.}..|
|00001d80| 2f 2a 0d 20 2a 20 54 68 | 69 73 20 69 73 20 63 61 |/*. * Th|is is ca|
|00001d90| 6c 6c 65 64 20 77 68 65 | 6e 20 74 68 65 20 64 72 |lled whe|n the dr|
|00001da0| 69 76 65 72 20 69 73 20 | 66 69 6e 61 6c 69 7a 65 |iver is |finalize|
|00001db0| 64 2e 0d 20 2a 2f 0d 76 | 6f 69 64 0d 44 69 73 70 |d.. */.v|oid.Disp|
|00001dc0| 6f 73 65 50 65 72 52 65 | 71 75 65 73 74 52 65 63 |osePerRe|questRec|
|00001dd0| 6f 72 64 28 0d 09 09 50 | 65 72 52 65 71 75 65 73 |ord(...P|erReques|
|00001de0| 74 44 61 74 61 50 74 72 | 09 09 2a 70 65 72 52 65 |tDataPtr|..*perRe|
|00001df0| 71 75 65 73 74 50 74 72 | 41 64 64 72 0d 09 29 0d |questPtr|Addr..).|
|00001e00| 7b 0d 09 09 50 65 72 52 | 65 71 75 65 73 74 44 61 |{...PerR|equestDa|
|00001e10| 74 61 50 74 72 09 09 70 | 65 72 52 65 71 75 65 73 |taPtr..p|erReques|
|00001e20| 74 44 61 74 61 50 74 72 | 3b 0d 23 64 65 66 69 6e |tDataPtr|;.#defin|
|00001e30| 65 20 52 45 51 55 45 53 | 54 09 28 2a 70 65 72 52 |e REQUES|T.(*perR|
|00001e40| 65 71 75 65 73 74 44 61 | 74 61 50 74 72 29 0d 0d |equestDa|taPtr)..|
|00001e50| 09 09 54 72 61 63 65 28 | 44 69 73 70 6f 73 65 50 |..Trace(|DisposeP|
|00001e60| 65 72 52 65 71 75 65 73 | 74 52 65 63 6f 72 64 29 |erReques|tRecord)|
|00001e70| 3b 0d 09 09 77 68 69 6c | 65 20 28 28 70 65 72 52 |;...whil|e ((perR|
|00001e80| 65 71 75 65 73 74 44 61 | 74 61 50 74 72 20 3d 20 |equestDa|taPtr = |
|00001e90| 2a 70 65 72 52 65 71 75 | 65 73 74 50 74 72 41 64 |*perRequ|estPtrAd|
|00001ea0| 64 72 29 20 21 3d 20 4e | 55 4c 4c 29 20 7b 0d 09 |dr) != N|ULL) {..|
|00001eb0| 09 09 69 66 20 28 43 6f | 6d 70 61 72 65 41 6e 64 |..if (Co|mpareAnd|
|00001ec0| 53 77 61 70 28 0d 09 09 | 09 09 28 55 49 6e 74 33 |Swap(...|..(UInt3|
|00001ed0| 32 29 20 70 65 72 52 65 | 71 75 65 73 74 44 61 74 |2) perRe|questDat|
|00001ee0| 61 50 74 72 2c 20 4e 55 | 4c 4c 2c 20 28 55 49 6e |aPtr, NU|LL, (UIn|
|00001ef0| 74 33 32 20 2a 29 20 70 | 65 72 52 65 71 75 65 73 |t32 *) p|erReques|
|00001f00| 74 50 74 72 41 64 64 72 | 29 29 20 7b 0d 09 09 09 |tPtrAddr|)) {....|
|00001f10| 09 43 68 65 63 6b 70 6f | 69 6e 74 49 4f 54 61 62 |.Checkpo|intIOTab|
|00001f20| 6c 65 28 26 52 45 51 55 | 45 53 54 2e 73 63 73 69 |le(&REQU|EST.scsi|
|00001f30| 49 4f 54 61 62 6c 65 29 | 3b 0d 09 09 09 09 43 68 |IOTable)|;.....Ch|
|00001f40| 65 63 6b 70 6f 69 6e 74 | 49 4f 54 61 62 6c 65 28 |eckpoint|IOTable(|
|00001f50| 26 52 45 51 55 45 53 54 | 2e 70 65 72 52 65 71 75 |&REQUEST|.perRequ|
|00001f60| 65 73 74 49 4f 54 61 62 | 6c 65 29 3b 0d 09 09 09 |estIOTab|le);....|
|00001f70| 09 69 66 20 28 52 45 51 | 55 45 53 54 2e 6e 65 78 |.if (REQ|UEST.nex|
|00001f80| 74 44 4d 41 49 6e 74 65 | 72 72 75 70 74 49 44 20 |tDMAInte|rruptID |
|00001f90| 21 3d 20 6b 49 6e 76 61 | 6c 69 64 49 44 29 0d 09 |!= kInva|lidID)..|
|00001fa0| 09 09 09 09 28 76 6f 69 | 64 29 20 44 65 6c 65 74 |....(voi|d) Delet|
|00001fb0| 65 53 6f 66 74 77 61 72 | 65 49 6e 74 65 72 72 75 |eSoftwar|eInterru|
|00001fc0| 70 74 28 52 45 51 55 45 | 53 54 2e 6e 65 78 74 44 |pt(REQUE|ST.nextD|
|00001fd0| 4d 41 49 6e 74 65 72 72 | 75 70 74 49 44 29 3b 0d |MAInterr|uptID);.|
|00001fe0| 09 09 09 09 69 66 20 28 | 52 45 51 55 45 53 54 2e |....if (|REQUEST.|
|00001ff0| 70 68 79 73 69 63 61 6c | 4d 61 70 54 61 62 6c 65 |physical|MapTable|
|00002000| 73 20 21 3d 20 4e 55 4c | 4c 29 0d 09 09 09 09 09 |s != NUL|L)......|
|00002010| 28 76 6f 69 64 29 20 50 | 6f 6f 6c 44 65 61 6c 6c |(void) P|oolDeall|
|00002020| 6f 63 61 74 65 28 52 45 | 51 55 45 53 54 2e 70 68 |ocate(RE|QUEST.ph|
|00002030| 79 73 69 63 61 6c 4d 61 | 70 54 61 62 6c 65 73 29 |ysicalMa|pTables)|
|00002040| 3b 0d 09 09 09 09 28 76 | 6f 69 64 29 20 50 6f 6f |;.....(v|oid) Poo|
|00002050| 6c 44 65 61 6c 6c 6f 63 | 61 74 65 28 70 65 72 52 |lDealloc|ate(perR|
|00002060| 65 71 75 65 73 74 44 61 | 74 61 50 74 72 29 3b 0d |equestDa|taPtr);.|
|00002070| 09 09 09 7d 0d 09 09 7d | 0d 23 75 6e 64 65 66 20 |...}...}|.#undef |
|00002080| 52 45 51 55 45 53 54 0d | 7d 0d 0d 00 00 00 00 00 |REQUEST.|}.......|
|00002090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00002110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 16 44 72 69 76 65 72 50 | 72 65 70 4d 65 6d 6f 72 |.DriverP|repMemor|
|00002140| 79 49 6e 69 74 2e 63 65 | 02 00 00 00 54 45 58 54 |yInit.ce|....TEXT|
|00002150| 00 00 54 45 58 54 4d 50 | 43 43 01 00 01 18 00 00 |..TEXTMP|CC......|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 ab 87 97 69 00 00 | 20 0b 00 00 01 9a 00 00 |.....i..| .......|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 00 00 00 48 00 0a 43 6f | 75 72 69 65 72 00 00 00 |...H..Co|urier...|
|00002210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002220| 00 00 00 00 00 00 00 03 | 00 04 00 6a 00 09 01 dc |........|...j....|
|00002230| 02 2f 00 6a 00 09 01 dc | 02 2f ac 62 54 13 00 00 |./.j....|./.bT...|
|00002240| 13 8e 00 00 13 a5 00 00 | 0f 74 01 00 00 00 00 04 |........|.t......|
|00002250| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00002260| 00 00 00 46 01 0b 6a 88 | 2c 12 00 00 00 1c 00 46 |...F..j.|,......F|
|00002270| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00002280| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00002290| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000022a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+